package org.springblade.tms.global.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.common.enums.Enumerator;
import org.springblade.tms.global.anno.SelectEnum;

@AllArgsConstructor
@Getter
@SelectEnum(value = "inquiryStatus", desc = "询价单状态")
public enum InquiryStatusEnum implements Enumerator {
    TO_BE_QUOTED("toBeAllocated", "待分配"),
    TO_BE_CONFIRMED("enquiryInProgress", "询价中"),
    FINISH("finish", "已完成");
    private final String value;
    private final String description;

    @Override
    public String value() {
        return this.value;
    }

    @Override
    public String description() {
        return this.description;
    }
}
